import { defineConfig } from 'vite';
import vue from '@vitejs/plugin-vue2';
import postcssImport from 'postcss-import';
import postcssPresetEnv from 'postcss-preset-env';


export default defineConfig({
    plugins: [vue()],
    resolve: {
      alias: {
        "@": "/src/",
      },
    },
    base: "./",
    build: {
      sourcemap: false
    },
    // css: {
    //   postcss: {
    //     plugins: [
    //       require('postcss-px-to-viewport')()

    //     ]
    //   }
    // }
});
